<form id="app-form" class="layui-form layuimini-form">

    <div class="layui-form-item">
        <label class="layui-form-label">站点名称</label>
        <div class="layui-input-block">
            <input type="text" name="site_name" class="layui-input" lay-verify="required" placeholder="请输入站点名称" value="{:sysconfig('site','site_name')}">
            <tip>填写站点名称。</tip>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">logo</label>
        <div class="layui-input-block layuimini-upload">
            <input name="site_ico" class="layui-input layui-col-xs6" lay-verify="required" placeholder="请上传logo" value="{:sysconfig('site','site_ico')}">
            <div class="layuimini-upload-btn">
                <span><a class="layui-btn" data-upload="site_ico" data-upload-number="one" data-upload-exts="png"><i class="fa fa-upload"></i> 上传</a></span>
                <span><a class="layui-btn layui-btn-normal" id="select_site_ico" data-upload-select="site_ico" data-upload-number="one"><i class="fa fa-list"></i> 选择</a></span>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">logo跳转地址</label>
        <div class="layui-input-block layuimini-upload">
            <input type="text" name="site_logo_site" class="layui-input" lay-verify="required" placeholder="请输入logo跳转地址" value="{:sysconfig('site','site_logo_site')}">
            <tip>填写logo跳转地址</tip>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">下载图</label>
        <div class="layui-input-block layuimini-upload">
            <input name="site_down_pic" class="layui-input layui-col-xs6" lay-verify="required" placeholder="请上传logo" value="{:sysconfig('site','site_down_pic')}">
            <div class="layuimini-upload-btn">
                <span><a class="layui-btn" data-upload="site_down_pic" data-upload-number="one" data-upload-exts="png"><i class="fa fa-upload"></i> 上传</a></span>
                <span><a class="layui-btn layui-btn-normal" id="select_site_down_pic" data-upload-select="site_down_pic" data-upload-number="one"><i class="fa fa-list"></i> 选择</a></span>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">下载地址</label>
        <div class="layui-input-block layuimini-upload">
            <input type="text" name="site_down_url" class="layui-input" lay-verify="required" placeholder="请输入下载地址" value="{:sysconfig('site','site_down_url')}">
            <tip>填写下载地址</tip>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">网站描述</label>
        <div class="layui-input-block layuimini-upload">
            <input type="text" name="site_description" class="layui-input" lay-verify="required" placeholder="请输入网站描述" value="{:sysconfig('site','site_down_url')}">
            <tip>填写网站描述</tip>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">网站关键字</label>
        <div class="layui-input-block layuimini-upload">
            <input type="text" name="site_keywords" class="layui-input" lay-verify="required" placeholder="请输入网站关键字" value="{:sysconfig('site','site_down_url')}">
            <tip>填写网站关键字</tip>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">搜索框文字</label>
        <div class="layui-input-block">
            <input type="text" name="site_copyright" class="layui-input" lay-verify="required" placeholder="请输入滚动文字" value="{:sysconfig('site','site_copyright')}">
            <tip>填写版权信息。</tip>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">电脑端左侧图</label>
        <div class="layui-input-block layuimini-upload">
            <input name="site_pc_left" class="layui-input layui-col-xs6" lay-verify="required" placeholder="请上传图片" value="{:sysconfig('site','site_pc_left')}">
            <div class="layuimini-upload-btn">
                <span><a class="layui-btn" data-upload="site_pc_left" data-upload-number="one" data-upload-exts="png"><i class="fa fa-upload"></i> 上传</a></span>
                <span><a class="layui-btn layui-btn-normal" id="select_site_pc_left" data-upload-select="site_pc_left" data-upload-number="one"><i class="fa fa-list"></i> 选择</a></span>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">电脑端右侧图</label>
        <div class="layui-input-block layuimini-upload">
            <input name="site_pc_right" class="layui-input layui-col-xs6" lay-verify="required" placeholder="请上传图片" value="{:sysconfig('site','site_pc_right')}">
            <div class="layuimini-upload-btn">
                <span><a class="layui-btn" data-upload="site_pc_right" data-upload-number="one" data-upload-exts="png"><i class="fa fa-upload"></i> 上传</a></span>
                <span><a class="layui-btn layui-btn-normal" id="select_site_pc_right" data-upload-select="site_down_pic" data-upload-number="one"><i class="fa fa-list"></i> 选择</a></span>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">手机端左侧图</label>
        <div class="layui-input-block layuimini-upload">
            <input name="site_m_left" class="layui-input layui-col-xs6" lay-verify="required" placeholder="请上传图片" value="{:sysconfig('site','site_m_left')}">
            <div class="layuimini-upload-btn">
                <span><a class="layui-btn" data-upload="site_m_left" data-upload-number="one" data-upload-exts="png"><i class="fa fa-upload"></i> 上传</a></span>
                <span><a class="layui-btn layui-btn-normal" id="select_site_m_left" data-upload-select="site_down_pic" data-upload-number="one"><i class="fa fa-list"></i> 选择</a></span>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">手机端右侧图</label>
        <div class="layui-input-block layuimini-upload">
            <input name="site_m_right" class="layui-input layui-col-xs6" lay-verify="required" placeholder="请上传图片" value="{:sysconfig('site','site_m_right')}">
            <div class="layuimini-upload-btn">
                <span><a class="layui-btn" data-upload="site_m_right" data-upload-number="one" data-upload-exts="png"><i class="fa fa-upload"></i> 上传</a></span>
                <span><a class="layui-btn layui-btn-normal" id="select_site_m_right" data-upload-select="site_down_pic" data-upload-number="one"><i class="fa fa-list"></i> 选择</a></span>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">左侧跳转链接</label>
        <div class="layui-input-block">
            <input type="text" name="site_left_url" class="layui-input" lay-verify="required" placeholder="请输入左侧跳转链接" value="{:sysconfig('site','site_left_url')}">
            <tip>填写跳转链接</tip>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">右侧跳转链接</label>
        <div class="layui-input-block">
            <input type="text" name="site_right_url" class="layui-input" lay-verify="required" placeholder="请输入右侧跳转链接" value="{:sysconfig('site','site_right_url')}">
            <tip>填写跳转链接</tip>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">版本信息</label>
        <div class="layui-input-block">
            <input type="text" name="site_version" class="layui-input" lay-verify="required" placeholder="请输入版本信息" value="{:sysconfig('site','site_version')}">
            <tip>填写版本信息。</tip>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">备案信息</label>
        <div class="layui-input-block">
            <input type="text" name="site_beian" class="layui-input" lay-verify="required" placeholder="请输入备案信息" value="{:sysconfig('site','site_beian')}">
            <tip>填写备案信息。</tip>
        </div>
    </div>



    <div class="hr-line"></div>
    <div class="layui-form-item text-center">
        <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit="system.config/save" data-refresh="false">确认</button>
        <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
    </div>

</form>